package com.wutianyi;

import java.io.UnsupportedEncodingException;

/**
 * Hello world!
 * 
 */
public class App
{
    public static void main(String[] args) throws UnsupportedEncodingException
    {
        // System.out.println(Integer.toHexString(150));
        byte[] bs = new byte[]
        { -23, -108, -117, -25, -109, -107 };

        System.out.println(new String(bs, "utf-8"));
        byte[] bytes = "谷歌".getBytes("gbk");
        for (byte b : bytes)
        {
            System.out.print(b);
            System.out.print(" ");
        }
    }
}
